package com.richest.api.dao;

import java.util.List;
import java.util.Map;

import com.richest.bean.PermissionBean;

/**
 * 权限信息实体映射
 * @author 杨博
 * @version richest-api 2.0
 *
 */
public interface PermissionMapper {
	Integer permissionAdd(PermissionBean bean);

	Integer permissionUpdate(PermissionBean bean);

	Integer permissionDelete(Long id);

	PermissionBean permissionSelectOne(Long id);

	List<Map<String, Object>> permissionSelectMap(Map<String, Object> params);
}
